package com.example.demo.project.domain;


import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by Administrator on 2018-2-6.
 */
@Entity
public class Student {
    @Id
    private Integer id;
    private String name;
    private Integer age;

    public Student(){
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}